// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.costAccounting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fowo.api.costAccounting.entity.CarryFcorwardConfigProduct;
import com.fowo.api.costAccounting.model.carry.CarryFcorwardConfigProductItemVo;
import com.fowo.api.costAccounting.model.carry.CarryFcorwardConfigProductSearchParamPo;
import com.fowo.api.costAccounting.model.carry.CarryFcorwardConfigProductVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface CarryFcorwardConfigProductMapper
  extends BaseMapper<CarryFcorwardConfigProduct> {
  Page<CarryFcorwardConfigProductItemVo> pageSearch(
          @Param("page") Page page,
          @Param("search") CarryFcorwardConfigProductSearchParamPo search
  );
  List<CarryFcorwardConfigProductItemVo> search(
          @Param("search") CarryFcorwardConfigProductSearchParamPo search
  );
  Date searchLastUpdateTime(
          @Param("search") CarryFcorwardConfigProductSearchParamPo search
  );
  /**
   * 搜索满足条件的所有记录的编号列表
   * @param search 搜索参数
   * @return 编号列表
   */
  List<Long> searchIds(
          @Param("search") CarryFcorwardConfigProductSearchParamPo search
  );
  Long getIdBySelectSql(@Param("selectSql") String selectSql);

  List<Long> getIdsBySelectSql(@Param("list") List<String> list);

  String getSelectSqlById(@Param("id") Long id);

  List<String> getSelectSqlByIds(@Param("ids") List<Long> ids);
  CarryFcorwardConfigProductVo selectVoById(@Param("id") Long id);

   List<CarryFcorwardConfigProductVo> getByCarryFcorwardConfigId( @Param("carryFcorwardConfigId") Long carryFcorwardConfigId);
}
